package com.jkgh.remedium.objects.messages.ins {
	
	import com.jkgh.remedium.RemediumSystem;
	import com.jkgh.remedium.objects.messages.RemediumInMessage;
	import com.jkgh.remedium.tools.RemediumTools;
	
	public class RemediumS2CResponder extends RemediumInMessage {
						
		protected function consumeResponse(callID:int, remedium:RemediumSystem, onDone:Function):void {
			throw new Error();
		}
		
		override public final function consumeContent(remedium:RemediumSystem, onDone:Function):void {
			RemediumTools.consumeInt(remedium, function(callID:int):void {
				consumeResponse(callID, remedium, onDone);
			});
		}
	}
}